/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Util;

import java.util.Iterator;
import java.util.List;

/**
 *
 * @author Misja
 */
public class StringToHtmlConverter {
    
    public static String format(List<String> l){
        String html = "<html>";
        Iterator<String> it = l.iterator();
        while(it.hasNext()){
            html = html + it.next() + "<br>";
        }
        html = html + "</html>";
        return html;  
    }
    
}
